import { createBrowserRouter } from "react-router-dom";

const router = createBrowserRouter([
  {
    path: "/",
    lazy: async () => {
      const { default: Home } = await import("../pages/home/Index");
      return {
        element: <Home></Home>,
      };
    },
  },
]);
export default router;
